package calc;
import javax.swing.*;
public class kurang{
	public void proses(){
		double hasil;
		System.out.println("Pengurangan");
int bilangan1=Integer.valueOf(JOptionPane.showInputDialog(null, "Masukan Bilangan ke-1","Pengurangan", 1));
int bilangan2=Integer.valueOf(JOptionPane.showInputDialog(null, "Masukan Bilangan ke-2","Pengurangan", 1));
		hasil =bilangan1-bilangan2;
		System.out.println("=> Hasil : "+bilangan1+" - "+bilangan2+" = "+hasil);
	}
}